projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ae9a2
)
(Fmatching_paren): Fix typo.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 20 Jun 1994 17:07:22 +0000
(17:07 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 20 Jun 1994 17:07:22 +0000
(17:07 +0000)
src/syntax.c
patch
|
blob
|
history
diff --git
a/src/syntax.c
b/src/syntax.c
index 26511a23b29ec9ef8f1683353e2fe2920b20b390..d3a37f9dd4f90cd8af14ee446299eb1503122518 100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-234,7
+234,7
@@
DEFUN ("matching-paren", Fmatching_paren, Smatching_paren, 1, 1, 0,
int code;
CHECK_NUMBER (ch, 0);
code = SYNTAX (XINT (ch));
- if (code == Sopen
&&
code == Sclose)
+ if (code == Sopen
||
code == Sclose)
return make_number (SYNTAX_MATCH (XINT (ch)));
return Qnil;
}